﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>

    <body>
        <section id="login" >
            <div id="menuFloat">
                @Html.Partial("_LoginPartial")
            </div>
            <div id="menuUp">
                @Html.ActionLink("Home", "Index", "Home")
                ||
                @if (Request.IsAuthenticated && HttpContext.Current.User.IsInRole("admin"))
                {
                    @Html.ActionLink("Adminpanel", "NewRole", "Home")
                    <text>||</text>
                }
                @if (Request.IsAuthenticated && HttpContext.Current.User.IsInRole("admin") || HttpContext.Current.User.IsInRole("blogger"))
                {
                    @Html.ActionLink("Artikelen", "../blog", "Home")
                    <text>||</text>
                }
                @Html.ActionLink("Contact", "Contact", "Home")
            </div>
            
            
            
        </section>
        <div id="container">
            <header>
                <div class="content-wrapper">
                        <p>@Html.ActionLink("Yeahhhhh", "Index", null, new { @class = "site-logo" })</p>
                </div>
            </header>
            <hr />
            <div id="body">
                @RenderSection("featured", required: false)
                <section class="content-wrapper main-content clear-fix">
                    @RenderBody()
                </section>
            </div>

        </div>

        <footer>
            <div class="content-wrapper">
                <div class="float-right">
                    <p>&copy; @DateTime.Now.Year // Bastiaan van Weijen</p>
                </div>
            </div>
        </footer>
        
        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
    </body>
</html>
